package com.yx;

/**
 * @author God.Jhon.Black
 * @date 2023-01-11
 */
public class Test {


    //策略枚举判断
    @org.junit.Test
    public void getToDo(){
        String day = "TWO";
        System.out.println("======"+day(TypeEnum.valueOf(day)));
    }

    public String day(TypeEnum dayEnum) {
        return dayEnum.toDo();
    }

}
